Skip to content

chore: update symfony/http-foundation requirement from ^2.8|^3.0 to ^2.8|^3.0|^5.0 #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 22, 2021

Updates the requirements on symfony/http-foundation to permit the latest version.

Release notes

Sourced from symfony/http-foundation's releases.

v5.3.2

Changelog (symfony/http-foundation@v5.3.1...v5.3.2)

  • no significant changes
Changelog

Sourced from symfony/http-foundation's changelog.

CHANGELOG

5.3

  • Add the SessionFactory, NativeSessionStorageFactory, PhpBridgeSessionStorageFactory and MockFileSessionStorageFactory classes
  • Calling Request::getSession() when there is no available session throws a SessionNotFoundException
  • Add the RequestStack::getSession method
  • Deprecate the NamespacedAttributeBag class
  • Add ResponseFormatSame PHPUnit constraint
  • Deprecate the RequestStack::getMasterRequest() method and add getMainRequest() as replacement

5.2.0

  • added support for X-Forwarded-Prefix header
  • added HeaderUtils::parseQuery(): it does the same as parse_str() but preserves dots in variable names
  • added File::getContent()
  • added ability to use comma separated ip addresses for RequestMatcher::matchIps()
  • added Request::toArray() to parse a JSON request body to an array
  • added RateLimiter\RequestRateLimiterInterface and RateLimiter\AbstractRequestRateLimiter
  • deprecated not passing a Closure together with FILTER_CALLBACK to ParameterBag::filter(); wrap your filter in a closure instead.
  • Deprecated the Request::HEADER_X_FORWARDED_ALL constant, use either HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO or HEADER_X_FORWARDED_AWS_ELB or HEADER_X_FORWARDED_TRAEFIK constants instead.
  • Deprecated BinaryFileResponse::create(), use __construct() instead

5.1.0

  • added Cookie::withValue, Cookie::withDomain, Cookie::withExpires, Cookie::withPath, Cookie::withSecure, Cookie::withHttpOnly, Cookie::withRaw, Cookie::withSameSite
  • Deprecate Response::create(), JsonResponse::create(), RedirectResponse::create(), and StreamedResponse::create() methods (use __construct() instead)
  • added Request::preferSafeContent() and Response::setContentSafe() to handle "safe" HTTP preference according to RFC 8674
  • made the Mime component an optional dependency
  • added MarshallingSessionHandler, IdentityMarshaller
  • made Session accept a callback to report when the session is being used
  • Add support for all core cache control directives
  • Added Symfony\Component\HttpFoundation\InputBag
  • Deprecated retrieving non-string values using InputBag::get(), use InputBag::all() if you need access to the collection of values

5.0.0

  • made Cookie auto-secure and lax by default
  • removed classes in the MimeType namespace, use the Symfony Mime component instead
  • removed method UploadedFile::getClientSize() and the related constructor argument

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [symfony/http-foundation](https://github.com/symfony/http-foundation) to permit the latest version.
- [Release notes](https://github.com/symfony/http-foundation/releases)
- [Changelog](https://github.com/symfony/http-foundation/blob/5.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/http-foundation/commits/v5.3.2)

---
updated-dependencies:
- dependency-name: symfony/http-foundation
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jun 22, 2021
@codeclimate
Copy link

codeclimate bot commented Jun 22, 2021

Code Climate has analyzed commit a0ab579 and detected 0 issues on this pull request.

View more on Code Climate.

@estahn estahn merged commit 280aa05 into master Jun 22, 2021
@estahn estahn deleted the dependabot/composer/symfony/http-foundation-tw-2.8tw-3.0tw-5.0 branch June 22, 2021 06:50
@github-actions
Copy link

🎉 This PR is included in version 4.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant